package com.ktwlsoft.fundmanage.domain.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

@ApiModel("角色或组职责")
@Entity
@Getter
@Setter
public class GroupDuty extends BaseEntity{

	/**主键*/
	@ApiModelProperty("主键")
	@Id
	@Column()
	private Long id;

	/**角色名*/
	@ApiModelProperty("角色名")
	@Column(length = 200)
	private String roleName;

	/**组名*/
	@ApiModelProperty("组名")
	@Column(length = 200)
	private String groupName;

	/**是否启用*/
	@ApiModelProperty("是否启用")
	private boolean acitive= false;

	/**职责名称*/
	@ApiModelProperty("职责名称")
	@Column(length = 20)
	private String userTask;
}
